import Vue from 'vue'
import Router from 'vue-router'
import tableDemo from '@/views/tableDemo'
import treeTableDemo from '@/views/treeTableDemo'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'treeTableDemo',
      component: treeTableDemo
    }
    // {
    //   path: '/',
    //   name: 'tableDemo',
    //   component: tableDemo
    // }
  ]
})
